package com.cstz.hb.manage.dao;

import com.cstz.hb.manage.domain.AppUser;
import com.cstz.hb.manage.domain.ReportDto;
import com.cstz.hb.manage.domain.SysQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 问题
 * @author xietiebing
 * @email xietiebing1986@163.com
 * @date 2019-09-24 17:52:44
 */
@Mapper
public interface SysQuestionDao {

	int save(SysQuestion sysQuestion);

    List<SysQuestion> selectQuestions(Map<String,Object> map);

    List<SysQuestion> exportData(Map<String,Object> map);

    int count(Map<String,Object> map);

    SysQuestion getQuestDetail(Long id);

    List<ReportDto> analysisByStatus(Map<String,Object> map);
    List<ReportDto> analysisByDept(Map<String,Object> map);
    List<ReportDto> analysisByType(Map<String,Object> map);
    List<ReportDto> analysisByCommunity(Map<String,Object> map);
    List<ReportDto> analysisByStreet(Map<String,Object> map);
}
